package org.tc.platform.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.tc.platform.entity.Stores;

import java.util.List;

@Mapper
public interface StoresMapper {
    //查询分店名称
    List<Stores> selectname();

    int deleteByPrimaryKey(@Param("id") Integer id);

    int insert(Stores record);

    Stores selectByPrimaryKey(Integer id);

    List<Stores> selectAll();

    int updateByPrimaryKey(Stores record);

    int InsStores(@Param("name") String name,
                  @Param("region") String region);

}